export interface TplStoreConfig {
  id: number
  name: string
}
//系统配置参数
export interface CmsSystemConfigDto {
  storeConfigId: string
}
export interface CmsUploadConfig {
  imageLimits: string
  videoLimits: string
  audioLimits: string
  libraryLimits: string
  attachLimits: string
  imageLimit: Number
  videoLimit: Number
  audioLimit: Number
  libraryLimit: Number
  attachLimit: Number
}
export interface CmsSecurityConfig {
  firstLoginChangePasssword: Boolean
  resetChangePasssword: Boolean
  weakPasswordCheck: Boolean
  weakPasswordProcessMode: Number
  weakPasswords: string
  inactivityLogoutEnable: Boolean
  inactivityLogoutTime: Number
  multiLoginEnable: Boolean
  adminIdleLock: Boolean
  adminIdleDays: Number
  passwordMaxDays: Number
  passwordWarnDays: Number
  passwordMinLength: Number
  passwordMaxLength: Number
  passwordStrength: Number
  userMaxAttempts: Number
  userLockMinutes: Number
  ipCaptchaAttempts: Number
  ipMaxAttempts: Number
  twoFactor: Number
}
export interface CmsRegisterConfig {
  enabled: Number
  verifyMode: Number
  usernameMinLength: Number
  usernameMaxLength: Number
}
export interface CmsOtherConfig {
  sensitiveWordProcessModel: Number
}
export interface CmsEmailConfig {
  host: string
  port: Number
  ssl: Boolean
  from: string
  username: string
  password: string
  verificationCodeLength: Number
  verificationCodeExpires: Number
  subject: string
  text: string
  testTo: string
}
export interface CmsConfig {
  serverPot: Number
  upload: CmsUploadConfig
  security: CmsSecurityConfig
  register: CmsRegisterConfig
  email: CmsEmailConfig
  otherConfig: CmsOtherConfig
  tplStoreConfigId: Number
  uploadStoreConfigId: Number
  htmlStoreConfigId: Number
}
export interface CmsSystemConfigVO {
  storeConfigId: string
}

export interface LicenseVo {
  appid: string
  productName: string
  version: string
  productGrade: number
  project: string
  expiration: string
  macAddress: string
}
